package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 点检与维护对象 sys_inspect
 *
 * @author ruoyi
 * @date 2023-12-04
 */
public class SysInspect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点检id */
    private Long id;

    /** 点检对象 */
    @Excel(name = "点检对象")
    private String inspectObject;

    /** 点检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "点检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectDate;

    /** 点检结果*/
    @Excel(name = "点检结果")
    private String inspectResult;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 风场id */
    @Excel(name = "风场id")
    private Long windId;

    /** 机组id */
    @Excel(name = "机组id")
    private Long setId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long equipmentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInspectObject(String inspectObject)
    {
        this.inspectObject = inspectObject;
    }

    public String getInspectObject()
    {
        return inspectObject;
    }
    public void setInspectDate(Date inspectDate)
    {
        this.inspectDate = inspectDate;
    }

    public Date getInspectDate()
    {
        return inspectDate;
    }
    public void setInspectResult(String inspectResult)
    {
        this.inspectResult = inspectResult;
    }

    public String getInspectResult()
    {
        return inspectResult;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setWindId(Long windId)
    {
        this.windId = windId;
    }

    public Long getWindId()
    {
        return windId;
    }
    public void setSetId(Long setId)
    {
        this.setId = setId;
    }

    public Long getSetId()
    {
        return setId;
    }
    public void setEquipmentId(Long equipmentId)
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId()
    {
        return equipmentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectObject", getInspectObject())
            .append("inspectDate", getInspectDate())
            .append("inspectResult", getInspectResult())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("windId", getWindId())
            .append("setId", getSetId())
            .append("equipmentId", getEquipmentId())
            .toString();
    }
}
